//
//  ContactDataHelper.swift
//  swiftProject
//
//  Created by ZhangSai on 2021/5/28.
//

import UIKit

class ContactDataHelper: NSObject {
/*
    class func getFriendListDataBy(_ array:Array<Any>) ->Array<Array<Any>> {
        let ans:Array = Array<Any>()
        let serializeArray:Array = array.sorted { (obj1, obj2) -> Bool in
            
            let strA = (obj1 as! WLCountryCode).nicename.lowercased()
            let strB = (obj2 as! WLCountryCode).nicename.lowercased()
            var countNum = 0;
            
            if strA.count > strB.count {
                countNum = strB.count
            } else {
                countNum = strA.count
            }
            for  i in 0..<countNum{
                let aa = strA.index(strA.startIndex, offsetBy: i)
                let bb = strB.index(strB.startIndex, offsetBy: i)
                let a = strA[aa]
                let b = strB[bb]
                return a>b
            }
            if strA.count > strB.count {
                return false
            } else {
                return true
            }
        }
        let lastC = '1'
        var data:Array!
        var oth:Array = Array()
        for user:WLCountryCode in serializeArray {
            c = user.nice
        }

        
        
        
        
        return [[1,2,3],[4,5,6]]
    }
    
    class func getFriendListSectionBy(_ array:Array<Any>) ->Array<Any> {
        
        return Array()
    }
 */
    
}
